//
//  VOHMVHeaderReusableView.m
//  VoiceOfHeart
//
//  Created by 吉龙 on 16/8/16.
//  Copyright © 2016年 吉龙. All rights reserved.
//

#import "VOHMVHeaderReusableView.h"

@interface VOHMVHeaderReusableView ()

@property(nonatomic, strong)UILabel *titleLabel;

@property(nonatomic, strong)VOHButton *detailbtn;

@property(nonatomic, strong)UIImageView *divisionView;
@end

@implementation VOHMVHeaderReusableView
-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        [self setUpView];
    }
    return self;
}


-(void)setUpView{
    
    self.divisionView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, ScreenWidth, 2)];
    
    self.divisionView.backgroundColor = [UIColor lightGrayColor];
    [self addSubview:self.divisionView];
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(5, 10, 100, 30)];
        self.titleLabel.text = @"MV首播";
     self.titleLabel.font = [UIFont fontWithName:@"ArialMT" size:13];
    self.titleLabel.textColor = [UIColor grayColor];
        [self addSubview:self.titleLabel];
        self.detailbtn = [VOHButton creatButtonWithFrame:CGRectMake(ScreenWidth - 60, 10, 50, 30) Title:@"显示全部" HighLightImageName:nil ImageName:nil];
     self.detailbtn.titleLabel.font = [UIFont fontWithName:@"ArialMT" size:12];
    [self.detailbtn setTitleColor:[UIColor grayColor] forState:UIControlStateNormal];
        [self addSubview:self.detailbtn];
    
    
    
    
    
    
}

@end
